//
//  Photos_TableViewCell.m
//  Pacific_Computer
//
//  Created by dlios on 14-12-23.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "Photos_TableViewCell.h"

@implementation Photos_TableViewCell

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.myImage = [[UIImageView alloc] init];
        [self.contentView addSubview:self.myImage];
        self.myImage.backgroundColor = [UIColor grayColor];
        [_myImage release];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    
    //    self.myImage.frame = CGRectMake(self.contentView.bounds.size.width / 25, self.contentView.bounds.size.height / 20, self.contentView.bounds.size.width - 2 * (self.contentView.bounds.size.width / 25), self.contentView.bounds.size.height - 2 * (self.contentView.bounds.size.height / 20));
    
    self.myImage.frame = self.contentView.bounds;
    
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
